package com.study.entity;

import java.io.Serializable;

public class MqMessage implements Serializable {
    private static final long serialVersionUID = 3634823865676313843L;
    private String type;
    private Object object;

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public Object getObject() {
        return object;
    }

    public void setObject(Object object) {
        this.object = object;
    }

    @Override
    public String toString() {
        return "MqMessage{" +
                "type='" + type + '\'' +
                ", object=" + object +
                '}';
    }
}
